package com.anolesoft.yr.mbus.cont.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 合同类型表，销售类，服务类
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "cont_type")
public class ContType implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "objuid", type = IdType.INPUT)
    private String objuid;

    /**
     * 类型名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 创建人
     */
    @TableField(value = "c_user_uid")
    private String cUserUid;

    /**
     * 创建时间
     */
    @TableField(value = "c_time")
    private Date cTime;

    /**
     * 修改人
     */
    @TableField(value = "m_user_uid")
    private String mUserUid;

    /**
     * 修改时间
     */
    @TableField(value = "m_time")
    private Date mTime;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 删除标志
     */
    @TableField(value = "del_flag")
    private Byte delFlag;

    private static final long serialVersionUID = 1L;

    public static final String COL_OBJUID = "objuid";

    public static final String COL_NAME = "name";

    public static final String COL_C_USER_UID = "c_user_uid";

    public static final String COL_C_TIME = "c_time";

    public static final String COL_M_USER_UID = "m_user_uid";

    public static final String COL_M_TIME = "m_time";

    public static final String COL_REMARK = "remark";

    public static final String COL_DEL_FLAG = "del_flag";

    public static final String SEll = "销售合同";

    public static final String RENT = "租赁合同";

    public static final String SPARE = "备件合同";

}